package com.huawei.designModel.sigleton;

public class Hungry01 {
    private static final Hungry01 instance = new Hungry01();

    private Hungry01() {
    }

//    private static Hungry01 instance;
//
//    static {
//        instance = new Hungry01();
//    }

    public static Hungry01 getInstance() {
        return instance;
    }
}
